<?php
class LoginForm extends Zend_Form
{
    public function init() {
    	$this->setMethod(self::METHOD_POST);
    	$this->addElement(new Zend_Form_Element_Text(array(
    	   'name' => 'email',
    	   'label' => 'E-mail',
    	   'required' => true,
    	)));
    	$this->addElement(new Zend_Form_Element_Password(array(
    	   'name' => 'password',
    	   'label' => 'Heslo',
    	   'required' => true,
    	)));
    	$this->addElement(new Zend_Form_Element_Submit(array(
    	   'name' => 'Prihlasit se',
    	   'ignore' => true,
    	)));
    }
    
}